package process

import (
	"gitee.com/thingple/saturn/cmd/dashboard/message"
	"gitee.com/thingple/saturn/internal/broker"
)

func bc(topic string, data message.BroadcastData) {
	broker.GetIns().Publish(topic, data)
}

func mqDataBc(data message.BroadcastData) {
	bc(message.DataBroadcastTopic, data)
}
